Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FE Release July 17 2 #2886

Merged
merged 9 commits into from
Jul 17, 2024
Merged

FE Release July 17 2 #2886

merged 9 commits into from
Jul 17, 2024

Conversation

trajan0x
Copy link
Contributor

@trajan0x trajan0x commented Jul 17, 2024

Description
A clear and concise description of the features you're adding in this pull request.

Additional context
Add any other context about the problem you're solving.

Metadata

  • Fixes #[Link to Issue]

Summary by CodeRabbit

  • New Features

    • Enhanced balance formatting across various components for improved display consistency.
    • Updated blacklist.json to include three additional Ethereum addresses.
  • Bug Fixes

    • Fixed a bug in the solidity-devops package where new deployments were not saved correctly.
  • Chores

    • Version bumps for multiple packages:
      • FastBridge to 0.2.12
      • solidity-devops to 0.4.4
      • synapse-interface to 0.28.5
    • Updated minimum Node.js version requirement to >=18.18.0 in synapse-interface.
  • Improvements

    • Enhanced handling of tracers and resources in base metrics handlers.
    • Improved token balance parsing and formatting in the PortfolioTokenVisualizer component.
    • Added portfolioChainId prop in SingleNetworkPortfolio component for better functionality.

944098b: synapse-interface preview link

trajan0x and others added 9 commits July 17, 2024 13:34
* Format dust amounts in Portfolio

* Format available gas balance

* Format gas token balance

* Remove log

---------

Co-authored-by: abtestingalpha <[email protected]>
…y function is not `run()` (#2883)

* fix: latest broadcast file is not always "run-latest"

* fix: use timestamp when fetching new receipts

* fix: silent exit if broadcast directory doesn't exist
Copy link

Deploying sanguine-fe with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1ef950a
Status: ✅  Deploy successful!
Preview URL: https://18980818.sanguine-fe.pages.dev
Branch Preview URL: https://fe-test.sanguine-fe.pages.dev

View logs

@trajan0x trajan0x merged commit 71ea3c4 into fe-release Jul 17, 2024
22 checks passed
Copy link
Contributor

coderabbitai bot commented Jul 17, 2024

Warning

Rate limit exceeded

@github-actions[bot] has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 12 minutes and 25 seconds before requesting another review.

How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

Commits

Files that changed from the base of the PR and between 380cb95 and 1ef950a.

Walkthrough

Recent updates include enhancements to the core/metrics package for improved tracer handling, bug fixes for the solidity-devops package, various formatting improvements in the synapse-interface components, and version updates across multiple packages. Additionally, new Ethereum addresses have been added to the blacklist.json file in the synapse-interface.

Changes

Files Change Summary
core/metrics/base.go Added unwrappedTP field to baseHandler, modified initialization in newBaseHandler and newBaseHandlerWithTracerProvider
core/metrics/otlp.go Introduced handleShutdown function for managing trace flushing and exporter shutdown
packages/contracts-rfq/CHANGELOG.md, package.json Version bump from 0.2.11 to 0.2.12, updated dev dependency
packages/solidity-devops/CHANGELOG.md, js/forgeScriptRun.js, ... Bug fix for deployment issues, added timestamp parameter to getNewDeploymentReceipts function
packages/synapse-interface/CHANGELOG.md, package.json Version bump from 0.28.4 to 0.28.5, updated Node.js engine requirement
packages/synapse-interface/components/Portfolio/... Improved token balance formatting and tooltips by importing formatAmount and getParsedBalance utilities
packages/synapse-interface/public/blacklist.json Added three new Ethereum addresses to the blacklist

Poem

Amidst the code, new tracers play,
With baseHandler leading the way.
Formats polished, bugs now gone,
Solidity's path is clear and strong.
Blacklist grows to safeguard all,
Synapse stands sturdy, won't let us fall.
Here's to progress, steady and bright,
Code evolves, day and night. 🌟


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions github-actions bot added javascript Pull requests that update Javascript code go Pull requests that update Go code M-synapse-interface size/s labels Jul 17, 2024
Copy link

codecov bot commented Jul 17, 2024

Bundle Report

Changes will decrease total bundle size by 3.1MB ⬇️

Bundle name Size Change
sdk-router-@synapsecns/sdk-router-cjs 521.76kB 404.83kB ⬆️
sdk-router-@synapsecns/sdk-router-esm 252.15kB 0 bytes
synapse-interface-server-cjs 1.38MB 362 bytes ⬆️
synapse-interface-edge-server-array-push 83 bytes 0 bytes
synapse-interface-client-array-push 7.45MB 418 bytes ⬆️
widget-esm-cjs 275.25kB 0 bytes
explorer-ui-server-cjs (removed) 894.5kB ⬇️
explorer-ui-edge-server-array-push (removed) 83 bytes ⬇️
explorer-ui-client-array-push (removed) 2.34MB ⬇️
widget-cjs-esm (removed) 273.3kB ⬇️

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

  • Fixed deployment saving when script entry function isn't run()
  • Updated getNewDeploymentReceipts to use current timestamp
  • Modified balance formatting in UI components
  • Added new Ethereum addresses to blacklist.json
  • Improved OTLP metrics handler shutdown process

13 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go Pull requests that update Go code javascript Pull requests that update Javascript code M-synapse-interface size/s
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants